# script for RMI Test
# it instantiates RMI object and binds it to JNDI Naming Service

# ...with JProxy:
java -cp samples.jar:proxyclient.jar -Djava.naming.factory.initial=com.jproxy.proxy.NamingContextFactory -Djava.rmi.server.codebase=file://samples.jar $* com.jproxy.samples.rmi.test.TestServer

# ...without JProxy:
# in this test NamingService of JBoss has been used to bind RMI object
# java -cp samples.jar:jnp-client.jar -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory -Djava.rmi.server.codebase=file://samples.jar $* com.jproxy.samples.rmi.test.TestServer
